package com.aaa.jx.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (TabMenu)实体类
 *
 * @author makejava
 * @since 2023-04-26 14:20:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TabMenu implements Serializable {
    private static final long serialVersionUID = 535667537847831185L;
    
    private Integer mid;
    
    private String mname;
    
    private Integer pid;
    
    private String url;
    
    private String icon;

    private List<TabMenu> sonMenus=new ArrayList<>();

    public List<TabMenu> getSonMenus() {
        return sonMenus;
    }

    public void setSonMenus(List<TabMenu> sonMenus) {
        this.sonMenus = sonMenus;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

}

